Find minimum number of coins that make a given value